package com.stylefeng.guns.modular.huamao.warpper;

import java.util.List;
import java.util.Map;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

public class AttributesWarpper extends BaseControllerWarpper {
	 public AttributesWarpper(List<Map<String, Object>> list) {
	        super(list);
	    }
	 @Override
	    public void warpTheMap(Map<String, Object> map) {
		 map.put("attrTypeName", ConstantFactory.me().getAttrTypeName((Integer)map.get("attrType")));
		 map.put("isShowName", ConstantFactory.me().getIsShowName((Integer)map.get("isShow")));
	 
	 }
}
